package ywpt.model;

import java.util.Date;

import com.opensymphony.util.Data;

public class ContractHistory implements java.io.Serializable {

	/**
	 * 合同变更信息
	 */
	private static final long serialVersionUID = -4823968329287891964L;
	private Long			id;
	private ContractInfo	contractInfo;
	private String 			contractCode;//合同编号
	
	private String   		purchaseCode;//采购编号
	private String 			projectName;//项目名称
	private String			headMan;//项目负责人
	private String          tenderMan;//提交人
	private String 			linkPhone;//联系电话
	private String 			fax;//传真
	private String 			outSignMan;//客户签订人
	private String 			inSignMan;//我方签订人
	private Date 			signDate;//签订日期
	
	private Department 		depart;//部门
	private ProjectInfo     project;
	private ContractType 	type;	//合同的类型
	private ClientInfo		client;//客户
	private String 			projectContent;//项目内容
	private Double 			amount;//金额
	private Double 			inAmount;//已收金额
	private Date 			startDate;//开始日期
	private Date 			endDate;//结束日期
	private Date 			acceptDate;//验收日期
	private int 			state;//状态 1. 未收款 2.部分收款 3.完成收款
	private Boolean 		tender;//是否提交
	private Boolean 		auditing;//是否审核
	private String 			remark;//备注
	private Boolean 		termin;//标识当前合同是否已经终止  true 终止 false 不终止
	private Boolean 		warn;//设置是否再提醒  true 提醒  false 不提醒
	private Boolean         deleteFlag;
	
	private Date			createDate;
	
	private Boolean 		HTSMJ;//合同扫描件
	private Boolean 		ZBTZS;//中标通知书
	private Boolean 		LYBZJ;//履约保证金进账单
	private Boolean 		YSBG;//验收报告

	
	public ContractHistory() {
		this.amount = 0.00;
		this.inAmount = 0.00;
		this.state=1;
		this.tender=false;
		this.auditing=false;
		this.termin = false;
		this.warn = true;
		this.deleteFlag=false;
		this.HTSMJ=false;
		this.ZBTZS=false;
		this.LYBZJ=false;
		this.YSBG=false;
	}
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getContractCode() {
		return contractCode;
	}
	public void setContractCode(String contractCode) {
		this.contractCode = contractCode;
	}
	public Department getDepart() {
		return depart;
	}
	public void setDepart(Department depart) {
		this.depart = depart;
	}
	public ContractType getType() {
		return type;
	}
	public void setType(ContractType type) {
		this.type = type;
	}
	public ClientInfo getClient() {
		return client;
	}
	public void setClient(ClientInfo client) {
		this.client = client;
	}
	public String getProjectContent() {
		return projectContent;
	}
	public void setProjectContent(String projectContent) {
		this.projectContent = projectContent;
	}
	public Double getAmount() {
		return amount;
	}
	public void setAmount(Double amount) {
		this.amount = amount;
	}
	public Date getStartDate() {
		return startDate;
	}
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	public Date getAcceptDate() {
		return acceptDate;
	}
	public void setAcceptDate(Date acceptDate) {
		this.acceptDate = acceptDate;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public Boolean getTender() {
		return tender;
	}
	public void setTender(Boolean tender) {
		this.tender = tender;
	}
	public Boolean getAuditing() {
		return auditing;
	}
	public void setAuditing(Boolean auditing) {
		this.auditing = auditing;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getPurchaseCode() {
		return purchaseCode;
	}
	public void setPurchaseCode(String purchaseCode) {
		this.purchaseCode = purchaseCode;
	}
	public String getProjectName() {
		return projectName;
	}
	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}
	public String getHeadMan() {
		return headMan;
	}
	public void setHeadMan(String headMan) {
		this.headMan = headMan;
	}
	public String getTenderMan() {
		return tenderMan;
	}
	public void setTenderMan(String tenderMan) {
		this.tenderMan = tenderMan;
	}
	public String getLinkPhone() {
		return linkPhone;
	}
	public void setLinkPhone(String linkPhone) {
		this.linkPhone = linkPhone;
	}
	public String getFax() {
		return fax;
	}
	public void setFax(String fax) {
		this.fax = fax;
	}

	public Date getSignDate() {
		return signDate;
	}
	public void setSignDate(Date signDate) {
		this.signDate = signDate;
	}
	public String getInSignMan() {
		return inSignMan;
	}
	public void setInSignMan(String inSignMan) {
		this.inSignMan = inSignMan;
	}
	public String getOutSignMan() {
		return outSignMan;
	}
	public void setOutSignMan(String outSignMan) {
		this.outSignMan = outSignMan;
	}
	public Double getInAmount() {
		return inAmount;
	}
	public void setInAmount(Double inAmount) {
		this.inAmount = inAmount;
	}
	public Boolean getHTSMJ() {
		return HTSMJ;
	}
	public void setHTSMJ(Boolean htsmj) {
		HTSMJ = htsmj;
	}
	public Boolean getZBTZS() {
		return ZBTZS;
	}
	public void setZBTZS(Boolean zbtzs) {
		ZBTZS = zbtzs;
	}
	public Boolean getLYBZJ() {
		return LYBZJ;
	}
	public void setLYBZJ(Boolean lybzj) {
		LYBZJ = lybzj;
	}
	public Boolean getYSBG() {
		return YSBG;
	}
	public void setYSBG(Boolean ysbg) {
		YSBG = ysbg;
	}
	public Boolean getWarn() {
		return warn;
	}
	public void setWarn(Boolean warn) {
		this.warn = warn;
	}
	public Boolean getTermin() {
		return termin;
	}
	public void setTermin(Boolean termin) {
		this.termin = termin;
	}
	public Boolean getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Boolean deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public ProjectInfo getProject() {
		return project;
	}
	public void setProject(ProjectInfo project) {
		this.project = project;
	}
	public ContractInfo getContractInfo() {
		return contractInfo;
	}
	public void setContractInfo(ContractInfo contractInfo) {
		this.contractInfo = contractInfo;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	
}
